using System;

namespace ZMap
{
    public enum TileState
    {
        IDLE = 0,
        LOADING = 1,

        LOADED = 2,
        ERROR = 3,
        EMPTY = 4
    }

    public class Tile : IDisposable
    {
        public TileCoord TileCoord { get; set; }
        public TileState State { get; set; }
        public string Key { get; set; }
        public int Transition { get; set; }

        public void changed()
        {
        }

        public string getKey()
        {
            return Key + '/' + this.TileCoord;
        }

        public void Load()
        {
            
        }


        public void Dispose()
        {
        }
    }
}